package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwTpb;
import com.tjmc.tiomscore.model.TranPtnHwTpbExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwTpbMapper extends TranPtnHwSuperMapper<TranPtnHwTpb> {
    long countByExample(TranPtnHwTpbExample example);

    int deleteByExample(TranPtnHwTpbExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwTpb record);

    int insertSelective(TranPtnHwTpb record);

    List<TranPtnHwTpb> selectByExample(TranPtnHwTpbExample example);

    TranPtnHwTpb selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwTpb record, @Param("example") TranPtnHwTpbExample example);

    int updateByExample(@Param("record") TranPtnHwTpb record, @Param("example") TranPtnHwTpbExample example);

    int updateByPrimaryKeySelective(TranPtnHwTpb record);

    int updateByPrimaryKey(TranPtnHwTpb record);
}